home *** CD-ROM | disk | FTP | other *** search
/ The X-Philes (2nd Revision) / The X-Philes Number 1 (1995).iso / xphiles / hp48hor1 / crash.doc < prev    next >
Text File  |  1995-03-31  |  5KB  |  89 lines

  1. (Comp.sys.handhelds) 
  2. Item: 3629 by ftg0673 at tamsun.TAMU.EDU 
  3. Author: [Rick Grevelle] 
  4.   Subj: HP48 CRASH Library (Taking Control) 
  5.   Date: Thu Jul 04 1991 
  6.  
  7. This is an abbreviated version of my CRASH library.  With the availability of 
  8. RAM cards, it soon became apparent that libraries were superior to the 
  9. directory structures to which we had become accustomed in the HP28S.  Many of 
  10. the 48's features are more easily exploited via the use of RAM cards, and it's 
  11. only a matter of time before it's discovered how to completely assume control 
  12. of this machine. 
  13.  
  14. While currently there isn't adequate time to fully explain how the library 
  15. accomplishes all that it does, perhaps it will suffice to exemplify a few of 
  16. the more important techniques for those who already have some knowledge of the 
  17. 48's operating system.  Therefore it's being posted without detail for only the 
  18. fundamentals will be addressed here. 
  19.  
  20. Numbered 1012, the library is actually unnamed.  Its original purpose wasn't as 
  21. its name implies, but rather was to restore the calculator exactly as it had 
  22. been before a crash.  This was made possible for one main reason; I own RAM 
  23. cards from which all of my programs are used.  It became necessary for me to 
  24. utilize directory structures such as those HP uses in ROM for various menus 
  25. which contain the user language commands, functions, and operations. 
  26.  
  27. This abbreviated version of library 1012 references two other libraries, of 
  28. which neither is necessary.  The libraries, MLDL, and HACKIT, are used for 
  29. illustration only, and were intended to embellish the directory structure I am 
  30. hoping to illustrate.  It is therefore advisable to install both of the 
  31. libraries in order to realize the full benefit. 
  32.  
  33. First, before installing 1012, it would be a good idea to archive anything that 
  34. is currently being stored in the intrinsic RAM.  Don't despair, as the library 
  35. is safe, but it could make some rather startling modifications one might not 
  36. expect.  Unfortunately, for those users who haven't yet purchased a 128K or 32K 
  37. RAM card, there is not much precaution that can be taken :-(. 
  38.  
  39. After installation the CST variable should be present in HOME.  This is the 
  40. only part of static RAM I use, and surprisingly, this powerful little custom 
  41. menu is only 117 bytes.  Now press the [CST] key; the three directories are 
  42. completely unlike user directories, and virtually identical to the ones used in 
  43. ROM by HP. 
  44.  
  45. Options available here are numerous and widely varied.  It's possible to run 
  46. programs in the background with these structures with only minor changes in the 
  47. main directory.  Furthermore, unlike user directories, nesting will save 
  48. memory, shrink the size of the CST list, and will not slow the accessing of 
  49. variables.  This is because even though directories appear to be nested, it's 
  50. not the case at all; they are actually flat as are libraries. 
  51.  
  52. If this sounds too outrageous to be true, be assured it's quite true.  Let's 
  53. see how it's done using the flag browser Wickes posted to this group only a few 
  54. months ago.  The third directory that appears on the menu page when [CST] is 
  55. pressed is entitled UTILS.  Before pressing UTILS, perform a [orange shift] [-] 
  56. key sequence to begin a user program in the command line.  Now pressing UTILS 
  57. will result in a change to that directory.  Now press all six keys on this 
  58. page; note that PEEK, and SEEK are the only two commands on this page that I 
  59. have made programmable. 
  60.  
  61. Implementing the [NXT] key will reveal the next page, and two more apparently 
  62. nested directories.  The directory labeled FLGS is the flags browser Wickes 
  63. posted, and it is this program that we are going to run without affecting the 
  64. program being built in the command line that should look like this:  
  65.  
  66. << PEEK SEEK >>  
  67.  
  68.  
  69. Note the cursor flashing just after SEEK; now impliment the flag browser by 
  70. pressing FLGS.  Amazingly enough, both routines are apparently running.  You 
  71. are free to utilize any of the commands within the flag browser (see Wickes' 
  72. posting for details).  When you are finished playing around in the browser, 
  73. simply press [ON] to exit the browser and return to the command line.  If at 
  74. any point you pressed [ENTER] while in the browser, you'll notice that the 
  75. tagged object that command generates has been pushed to the stack instead of 
  76. appearing in the command line. 
  77.  
  78. Certainly I do wish time was allowing for a more detailed explanation of all 
  79. this.  Currently, Robert Ellis has devised an elaborate directory/menu scheme 
  80. which I'm hoping he will post soon that further expands upon these technics, 
  81. but remains remarkably user friendly.  What I've done in library 1012 is not 
  82. overly complex, just detailed; so it shouldn't be too difficult to take apart 
  83. and digest. 
  84.  
  85.  
  86. Rick Grevelle 
  87. (409) 774-1169 
  88. ftg0673@tamsun.tamu.edu 
  89.